<template>
  <div class="">
  <el-tabs v-model="activeName">
    <!--<el-tab-pane :label="$t('config.channel.weiBoOpeningInstructions')" class="weibo-config" name="weiBoOpeningInstructions">-->
      <!--<weibo-description></weibo-description>-->
    <!--</el-tab-pane>-->
    <el-tab-pane :label="$t('config.channel.weiboBinding')" class="weibo-config" name="weiboBinding">
      <weibo-binding></weibo-binding>
    </el-tab-pane>
    <!--<el-tab-pane :label="$t('config.channel.weiboManagement')" class="weibo-manage" name="weiboManagement">-->
      <!--<weibo-manage :changeWeiboList="changeWeiboList"></weibo-manage>-->
    <!--</el-tab-pane>-->
    <el-tab-pane :label="$t('config.channel.webchatDayManage')" class="weibo-manage" name="DayManage" >
      <DayManage :manageType="manageType"></DayManage>
    </el-tab-pane>
  </el-tabs>
  </div>
</template>
<script>
  import WeiboDescription from '@/components/business-modules/config/channelConfig/weibo/WeiboDescription.vue'
  import WeiboBinding from '@/components/business-modules/config/channelConfig/weibo/WeiboBinding.vue'
  import WeiboManage from '@/components/business-modules/config/channelConfig/weibo/WeiboManage.vue'
  import DayManage from '../base/webchatManage'

  export default {
    name: 'WeiboCustomerService',
    data () {
      return {
        activeName: 'weiboBinding',
        // changeWeiboList: 0,
        manageType: 'weibo'
      }
    },
    components: {
      WeiboDescription,
      WeiboBinding,
      WeiboManage,
      DayManage
    },
    methods: {
      // changeToBinding () { // ������΢��ʱ��tab�л��ذ󶨽���
      //   this.activeName = 'weiboBinding'
      // },
      // changeToDetail () { // �󶨳ɹ�֮��tab�л��ع������
      //   this.activeName = 'weiboManagement'
      // },
      // toChangeWeiboList (flag) {
      //   if (flag) {
      //     this.changeWeiboList = Math.random()
      //   }
      // }
    }
  }
</script>
<style lang="stylus" scoped>
  @import "../../../../../assets/common.styl"
  .weibo-config,.weibo-manage
    height calc(100vh - 52px - 42px - 20px - 60px)
  .weibo-config
    overflow auto
</style>
